<div class="well well-small">
    <?php $title='Zawartość pliku'; ?>
    <h3><?php echo $this->escapeHtml($title);?></h3>
</div>


<?php 
//foreach ($this->rows as $line_num => $line) {
	//echo "Line $line_num is $line";
//}

foreach ($this->rows as $row)
{
	$headers = array_keys($row);
	$records = array_values($row);
}
?>

<table class="table">
<tr>
 <?php foreach ($headers as $header) : ?>

     <td><?php  echo $this->escapeHtml($header);?></td>

 <?php endforeach; ?>
</tr>

<tr> 
 <?php foreach ($records as $record) : ?>

     <td><?php  echo $this->escapeHtml($record);?></td>

 <?php endforeach; ?>
</tr>
</table>



<a class="btn" href="<?php echo $this->url('home', array('action'=>'index'));?>">Return Home &gt;&gt;</a>
